package com.zhuoxin.webapp.actions.jsp;

import javax.annotation.Resource;

import com.zhuoxin.bean.model.GradeSO;
import com.zhuoxin.common.Constants;
import com.zhuoxin.dao.admin.GradeDAO;

public class GradeAction extends com.zhuoxin.webapp.actions.admin.basic.GradeAction {
	public String index(){
		if(getVo()==null){
			setVo(new GradeSO());
		}
		getVo().setObjectsPerPage(Integer.MAX_VALUE);
		getVo().setPageNumber(1);
		pageList=gradeDAO.findPage(getVo());
		return Constants.INDEX;
	}
	@Resource
	private GradeDAO gradeDAO;
	private static final long serialVersionUID = 4971599447777139642L;
}
